package org.dingyom.org.domain;

import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.dingyom.basics.domain.BaseDomain;

@Data
public class Employee extends BaseDomain {
    @ApiParam(value = "名字",required = true) //打在属性上 对属性做描述
    private String username;
    @ApiParam(value = "密码",required = true) //打在属性上 对属性做描述
    private String password;
    @ApiParam(value = "电子邮箱",required = true) //打在属性上 对属性做描述
    private String email;
    @ApiParam(value = "头像",required = true) //打在属性上 对属性做描述
    private String headImage;
    @ApiParam(value = "年龄",required = true) //打在属性上 对属性做描述
    private Integer age;

    /*关联部门*/
    @ApiParam(value = "所属部门",required = true) //打在属性上 对属性做描述
//    private Long department_id;
    private Department department;


}
